package com.cdp.web.controller.system;

import com.cdp.common.core.domain.AjaxResult;
import com.cdp.common.core.domain.entity.SysEfficiencyAgent;
import com.cdp.common.core.domain.entity.SysEfficiencyMerchantName;
import com.cdp.system.dto.SandFinenessDTO;
import com.cdp.system.dto.StoneGrainDTO;
import com.cdp.system.service.ISysEfficiencyAgentService;
import com.cdp.system.service.ISysEfficiencyMerchantNameService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.List;

@RestController
@RequestMapping("/system/merchant/name")
public class SysEfficiencyMerchantNameController {



    @Autowired
    private ISysEfficiencyMerchantNameService sysEfficiencyMerchantNameService;

    @Autowired
    private ISysEfficiencyAgentService sysEfficiencyAgentService;



    /**
     * 模糊查询增效剂商家
     * @param stoneGrainDTO
     * @return
     */

    @PostMapping("listMerchantName")
    private AjaxResult listMerchantName(@RequestBody StoneGrainDTO stoneGrainDTO){

        List<SysEfficiencyAgent> list = sysEfficiencyAgentService.list();


        return AjaxResult.success();
    }



}
